package com.example.graduationdesignbackend.service;

import cn.dev33.satoken.stp.SaTokenInfo;
import com.example.graduationdesignbackend.dto.AdminLoginDto;
import com.example.graduationdesignbackend.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.graduationdesignbackend.entity.User;
import com.example.graduationdesignbackend.res.Res;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yuze
 * @since 2024-05-08
 */
public interface IAdminService extends IService<Admin> {
    SaTokenInfo login(AdminLoginDto adminLoginDto);

    SaTokenInfo loginpwd(AdminLoginDto adminLoginDto);

    Res editpwd( Admin admin);
    Admin getInfo(String id);
}
